﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace WeProjectsModel
{
    ////public partial class NewsMetaData
    ////{
    ////    [UIHint("tinymce_jquery_full"), AllowHtml]
    ////    public string NewsContent
    ////    { get; set; }
    ////}

    ////[MetadataType(typeof(NewsMetaData))]
    ////public partial class News
    ////{
    ////}
    //public partial class ProjectMetaData
    //{
    //    [UIHint("tinymce_jquery_full"), AllowHtml]
    //    public string Description
    //    { get; set; }
    //}
    //[MetadataType(typeof(ProjectMetaData))]
    //public partial class Project
    //{
    //}
    public partial class ResourceMetaData
    {
        [UIHint("tinymce_jquery_full"), AllowHtml]
        public string Description
        { get; set; }
    }
    [MetadataType(typeof(ResourceMetaData))]
    public partial class Resource
    {
    }

    public partial class TaskMetaData
    {
        [Required]
        public Nullable<System.DateTime> Due { get; set; }
    }
    [MetadataType(typeof(TaskMetaData))]
    public partial class Task
    {
    }
}